cc_binary(
    name = "ep_02_1",
    srcs = [
        "The-Art-of-Writing-Efficient-Programs/Chapter02/01_substring_sort_a.C",
        "01_substring_sort_a.C",
        "ep_02_1.cc",
    ],
    copts = [
        "-g",
        "-O3",
        "-fno-omit-frame-pointer",
        "-fno-pie",
        "-no-pie",
        "-IThe-Art-of-Writing-Efficient-Programs/Chapter02",
        "-std=c++17",
    ],
    linkopts = [
        "-fno-pie",
        "-no-pie",
        "-L/usr/local/lib",
        "-lprofiler",
    ],
)

cc_binary(
    name = "ep_02_2_clock",
    srcs = [
        "The-Art-of-Writing-Efficient-Programs/Chapter02/clocks.C",
    ],
    copts = [
        "-g",
        "-O3",
    ],
    linkopts = [
        "-L/usr/local/lib",
        "-lprofiler",
    ],
)

